package com.yr.ryjk.test.entity;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 测试题,用于接收数据
 * @author Rick
 *
 */
public class QuestionEdit {
	@NotBlank
	private String id;

	@NotBlank
	private String title;

	@NotBlank
	private String option1;

	private String option2;

	private String option3;

	private String option4;

	private String option5;

	private String option6;

	@NotBlank
	private String answer;

	private int score;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public String getOption1() {
		return option1;
	}

	public void setOption1(String option1) {
		this.option1 = option1 == null ? null : option1.trim();
	}

	public String getOption2() {
		return option2;
	}

	public void setOption2(String option2) {
		this.option2 = option2 == null ? null : option2.trim();
	}

	public String getOption3() {
		return option3;
	}

	public void setOption3(String option3) {
		this.option3 = option3 == null ? null : option3.trim();
	}

	public String getOption4() {
		return option4;
	}

	public void setOption4(String option4) {
		this.option4 = option4 == null ? null : option4.trim();
	}

	public String getOption5() {
		return option5;
	}

	public void setOption5(String option5) {
		this.option5 = option5 == null ? null : option5.trim();
	}

	public String getOption6() {
		return option6;
	}

	public void setOption6(String option6) {
		this.option6 = option6 == null ? null : option6.trim();
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer == null ? null : answer.trim();
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getScore() {
		return score;
	}
}